Skip to content

fix: preserve Claude SDK OAuth compaction state - #1402

Open
code-yeongyu wants to merge 1 commit into
mainfrom
followup-claude-sdk-oauth-compaction
Open

fix: preserve Claude SDK OAuth compaction state#1402
code-yeongyu wants to merge 1 commit into
mainfrom
followup-claude-sdk-oauth-compaction

Conversation

@code-yeongyu

@code-yeongyu code-yeongyu commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Preserves SDK-native compaction boundaries and idle settings for Claude SDK OAuth. Focused baseline and patched tests captured in attempt-12 artifacts.


Summary by cubic

Preserves Claude SDK OAuth compaction boundaries and idle settings across replay and resume, so SDK-native compaction state is no longer lost or duplicated. Adds a compaction.model override that re-enables the built-in compactor on SDK-owned lanes when set.

  • Claude SDK OAuth sessions now mirror SDK compact boundaries and keep idle compaction settings during replay/resume.
  • Setting compaction.model to a provider/model (e.g. deepseek/deepseek-chat) makes the built-in compactor handle summarization instead of waiting for SDK-native compaction.

Written for commit 4edb039. Summary will update on new commits.

Review in cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant